package cn.z2huo.knowledge.jdk.unsupported;

import sun.misc.Unsafe;

/**
 * <p>
 *
 * @author z2huo
 */
class UnSafeTest {

    private static final Unsafe UNSAFE = Unsafe.getUnsafe();


    static class Example {
        int a;

        boolean b;
    }

    void test() {

    }

    public static void main(String[] args) {

//        UNSAFE.objectFieldOffset(Example.class, "a");

    }

}
